package com.hk.label;

import javax.swing.JLabel;

public class LabelSumUser extends SuperLabel {
	private int x = 200;
	private int y = 340;
	private int w = 50;
	private int h = 50;
	
	public LabelSumUser() {
		super("");
		SetLabelFont(20);
		BoundsLabel(x, y, w, h);
	}
	@Override
	public JLabel getLabel() {
		return label;
	}
	@Override
	public void ShowLabel() {
		BoundsLabel(x, y, w, h);
	}
	@Override
	public void HideLabel() {
		BoundsLabel(0, 0, 0, 0);
	}
	@Override
	public void UpdateLabel() {
		if (pg.isPlay()) {
			ShowLabel();
		} else {
			HideLabel();
		}
	}
}
